package com.javaclimb.accounting.dao;

import com.javaclimb.accounting.po.Account;
import com.javaclimb.accounting.po.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserDao {
    User login(User user);//登录
    void register(User user);//注册
    Long add(Account account);//添加电子账户
    List<User> exists(User user); //检验电话号码，与电话
    List<User> verify(User user); //验证
}
